package com.itany.service;

import com.github.pagehelper.PageInfo;
import com.itany.exception.ManagerServiceException;
import com.itany.pojo.ManagerUser;
import com.itany.pojo.Role;

public interface ManagerUserService {

    public ManagerUser login(String username, String password) throws ManagerServiceException;

    public void modifyPassword(Integer id, String password) throws ManagerServiceException;

    void add(String username, String password, Integer supplierid, Integer[] ids) throws ManagerServiceException;

    PageInfo<ManagerUser> findAll(Integer page, Integer rows, String username);

    void update(Integer id, String username, String password, Integer supplierid, Integer[] ids) throws ManagerServiceException;
}
